package com.sc.VenusQueryBeta.adapter.account;

import com.chad.library.adapter.base.BaseViewHolder;
import com.sc.VenusQueryBeta.R;
import com.sc.VenusQueryBeta.adapter.BaseCompatAdapter;
import com.sc.VenusQueryBeta.model.sqlite.MsgListBean;

import java.util.List;

/**
 * Created by Administrator on 2018/11/21.
 *
 */

public class MsgChildAdapter extends BaseCompatAdapter<MsgListBean, BaseViewHolder> {

    public MsgChildAdapter(int item_msgchild) {
        super(item_msgchild);
    }

    public MsgChildAdapter(int item_msgchild, List<MsgListBean> msgListBeans) {
        super(item_msgchild, msgListBeans);
    }

    @Override
    protected void convert(BaseViewHolder helper, MsgListBean item) {
            helper.setText(R.id.tv_message,item.getMessageContent());
    }
}
